home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 2 (Reseller) / Apple R&P Lib Reseller v2.0.iso / 2-Presentations / Markets / Eng.⁄Science Markets / Eng.⁄Scientific Solutions Guide / Apple Glossary 2.0 / card_4195.txt < prev    next >
Encoding:
Text File  |  1989-07-14  |  2.8 KB  |  133 lines

  1. -- card: 4195 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3616
  5. -- name: Accessory
  6. ----- HyperTalk script -----
  7. on closeCard
  8.   hide card field "Try It"
  9.   pass closeCard
  10. end closeCard
  11.  
  12. on idle
  13.   if the visible of card field "Try It" is true then
  14.     global flag
  15.     put "1" into flag
  16.     get selection
  17.     if selection is empty then
  18.       pass idle
  19.     else
  20.       find selection in bkgnd field "Word"
  21.     end if
  22.   end if
  23.   pass idle
  24. end idle
  25.  
  26.  
  27.  
  28. -- part 8 (button)
  29. -- low flags: 00
  30. -- high flags: 0000
  31. -- rect: left=222 top=296 right=319 bottom=248
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 1014 / 1014
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Prev
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   push card
  43.   go prev
  44. end mouseUp
  45.  
  46.  
  47.  
  48. -- part 11 (field)
  49. -- low flags: 81
  50. -- high flags: 2004
  51. -- rect: left=87 top=129 right=241 bottom=378
  52. -- title width / last selected line: 0
  53. -- icon id / first selected line: 0 / 0
  54. -- text alignment: 1
  55. -- font id: 3
  56. -- text size: 12
  57. -- style flags: 256
  58. -- line height: 16
  59. -- part name: Explain Word
  60. ----- HyperTalk script -----
  61. on mouseUp
  62.   phrase
  63. end mouseUp
  64.  
  65.  
  66. -- part 10 (field)
  67. -- low flags: 81
  68. -- high flags: 2004
  69. -- rect: left=87 top=129 right=238 bottom=401
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 0 / 0
  72. -- text alignment: 1
  73. -- font id: 3
  74. -- text size: 12
  75. -- style flags: 256
  76. -- line height: 16
  77. -- part name: Explain Phrase
  78. ----- HyperTalk script -----
  79. on mouseUp
  80.   hide card field "Explain Phrase"
  81.   show card field "Try It"
  82. end mouseUp
  83.  
  84.  
  85. -- part 12 (field)
  86. -- low flags: 81
  87. -- high flags: 2004
  88. -- rect: left=27 top=134 right=248 bottom=316
  89. -- title width / last selected line: 0
  90. -- icon id / first selected line: 0 / 0
  91. -- text alignment: 1
  92. -- font id: 3
  93. -- text size: 12
  94. -- style flags: 256
  95. -- line height: 16
  96. -- part name: Try It
  97.  
  98.  
  99. -- part contents for background part 6
  100. ----- text -----
  101. accessory:¬†DMac 
  102.  
  103.  
  104. -- part contents for background part 17
  105. ----- text -----
  106. See desk accessories, peripheral device.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116. -- part contents for background part 21
  117. ----- text -----
  118. es
  119.  
  120. -- part contents for card part 10
  121. ----- text -----
  122. The phrase "desk accessories" was selected by the computer.  When you click and drag to select a phrase, the Apple Glossary will be searched for a reoccurance of the selected phrase.
  123. Double-click here to try it.
  124.  
  125. -- part contents for card part 11
  126. ----- text -----
  127. The word "peripheral" was selected by the computer.  When you click and drag to select a word, the Apple Glossary would be searched for a reoccurance of the selected word.
  128. Double-click here for more help.
  129.  
  130. -- part contents for card part 12
  131. ----- text -----
  132. Now you try it.
  133. Select the phrase "desk accessories" by clicking and dragging across the two words.  Ther is no need to select the comma, as punctuation marks are not needed.